home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
ACORNUSERS
/
EMULATOR
/
MAKETILE
/
ReadMe
< prev
Wrap
Text File
|
1997-04-06
|
1KB
|
40 lines
maketiles v0.04
===============
This is a small utility for use with the RISC OS port of the Gameboy
Development Kit (GBDK), and should be put in '!GBDK.bin' with the
other files. It will translate four colour sprite files into tile data
which can be used for Gameboy sprites or background data. Each
sprite's width and height must be a multiple of 8, or it will be
ignored, as the Gameboy can only handle sprites of 8x8 or 8x16. Usage
is as follows:
maketiles [options] <sprite file>
-o --output file to send output to [tiles]
-f --format format of tile data (c or asm/assembler) [c]
-v --verbose show information on progress [off]
-s --standard generate standard tiles for 0xfc - 0xff [off]
-h --help show the help text
For example, to make a set of tiles from the sprite file 'GBSprites',
saving the output to 'tiles' in a format usable from a C program:
maketiles gbsprites -o tiles -f c
Sprites over 8x8 are tiled in vertical strips, eg a 24x24 sprite is
tiled as follows:
+---+---+---+
| 1 | 4 | 7 |
+---+---+---+
| 2 | 5 | 8 |
+---+---+---+
| 3 | 6 | 9 |
+---+---+---+
----------------------------------------------------------------------
Paul Clifford (paul@plasma.demon.co.uk)
April 6 1997